package com.pdstudio.knowledge;

import java.util.Calendar;

import com.pdstudio.alarm.WeatherAlarm;
import com.pdstudio.alarm.WeatherAlarmReceiver;
import com.pdstudio.app.Application;
import com.pdstudio.weather.R;

import android.app.Activity;
import android.app.PendingIntent;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.widget.TimePicker;
import android.widget.Toast;

public class DayMarkActivity extends Activity implements OnClickListener {

	private Button bt1, bt2, bt3, bt4, bt5;
	private TextView tv1;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.knowledge_daymark_main);

		bt1 = (Button) findViewById(R.id.button1);
		bt1.setOnClickListener(this);
		bt2 = (Button) findViewById(R.id.button2);
		bt2.setOnClickListener(this);
		bt3 = (Button) findViewById(R.id.button3);
		bt4 = (Button) findViewById(R.id.button4);
		bt5 = (Button) findViewById(R.id.button5);
		tv1 = (TextView) findViewById(R.id.textview1);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.button1: {
			tv1.setText("back up paper");
		}
			break;
		case R.id.button2: {
			tv1.setText(bt2.getText());
		}
			break;
		default: {
			tv1.setText("this is default");
		}
			break;
		}
	}
}
